<!DOCTYPE html>
<html lang="en">
    <head>
        {include file="public/header"}  
    </head>
    <body>
        <div class="wrapper">
	        {include file="public/nav"}  
	        <div id="page-wrapper" style="min-height: 325px;">
	            <div class="row">
		            <div class="col-lg-12">
		                <h3 class="page-header">添加项目</h3>                        

		            </div>
	            </div>
	            <div class="row">
                    <form role="form" action="insert" method="post" id="form">
                        <div class="col-lg-6">
                            <div class="form-group">
                                <label>项目名称</label>
                                <input class="form-control" type="text" name="name" value="{$data.pro_name}">
                            </div>
                            <div class="form-group">
                                <label>项目所需基础</label>
                                <textarea class="form-control" name="need" rows="5">{$data.pro_need}</textarea>
                            </div>                            
                            <div class="form-group">
                                <label>备注</label>
                                <textarea class="form-control" name="mark" rows="5">{$data.pro_mark}</textarea>
                            </div>                            

                        </div>
                        <div class="col-lg-4">
                            <div class="form-group">
                                <label>项目排序</label>
                                <input class="form-control" type="text" name="sort" value="{$data.pro_sort}">
                            </div>

                            <div class="form-group">
                                <label>项目难度等级</label>
                                <input class="form-control" type="text" name="grade" value="{$data.pro_grade}">
                            </div>

                        </div>
                        <div class="col-lg-12 col-sm-12">
                            <div class="form-group">
                                <label>项目内容需求</label>
                                <script id="content" name="content" type="text/plain">{$data.pro_content}</script>                                    
                            </div>

                        </div>
                        <div class="col-lg-12 col-sm-12">
                            <div class="form-group">
                                <a href="javascript:;" class="btn btn-primary" onclick="edu.submit('form',this)">确定</a>
                            </div>
                        </div>
                        <div class="clearfix"></div>
                    </form>

		        </div>
	        </div>
	    </div>
        </div>
        {include file="public/plane" /}
        {include file="public/javascript" /}
        {include file="public/jqueryform" /}
        <script type="text/javascript" src="/admin/vendor/ue/ueditor.config.js"></script>
        <script type="text/javascript" src="/admin/vendor/ue/ueditor.all.js"></script>
        <script type="text/javascript" src="/admin/script/project/add.js"></script>
    </body>
</html>
